// This file is required by the index.html file and will
// be executed in the renderer process for that window.
// All of the Node.js APIs are available in this process.
const { ipcRenderer } = require('electron');

function updateSer() {
    alert(2222);
    ipcRenderer.send('check-for-update');
}